@echo off
set MD=%~1
set TPL=%~2
if "%MD%"=="" goto usage
python -m src.pptgen.cli validate --md "%MD%" --tpl "%TPL%"
exit /b %ERRORLEVEL%
:usage
echo usage: validate.bat <md> [tpl]
exit /b 1